<template>
  <div class="sea">
      <i class="iconfont icon-sousuo sousuo" @click="search()"></i>
      <input type="text" @keydown.enter="search()" class="sou"></div>
</template>

<script>
export default {
methods:{
    search(){
        this.$router.push("/search")
    }
},
}
</script>

<style>
.sea{
    height: 0.6rem;
    line-height: 0.6rem;
position: relative;

}
.sou{
    position: absolute;
    right: 0.9rem;
    height: .5rem;
    margin-top: 5px;
    border: 1px solid #ccc;
}
.sousuo{
    margin-top: 5px;
    position: absolute;
    right:0.3rem;
    font-size:.52rem

}
</style>